from django.shortcuts import render, HttpResponse
from . import models

# Create your views here.


def index(request):
    articles = models.Article.objects.all()
    return render(request, 'index.html', {
        'articles': articles,
    })
